#!/bin/bash
make -j4
if [ $? -eq 0  ]; then
    echo Build finished!
    
    adb push ./build/bin/demo /root/demo

    # adb push ./build/bin/demo /tmp/lvgl_test
    # adb shell killall demo
    # adb shell killall lvgl_test
    # adb shell /tmp/lvgl_test
fi